package Lambda;

import java.text.SimpleDateFormat;

public class lambdaDemo {
    public static void main(String[] args) {
        Swimming a = () -> {
            System.out.println("游泳");
        };
        a.swim();
    }
}

interface Swimming{
    void swim();
}